package effect;

/**
 * 
 * @author Anton
 * Doubles maximum damage
 */
public class Rage extends Effect {
	public Rage(){
		name="Rage";
		description="The unit is enraged, doubling it's maximum damage";
		imageName="goblinIconSmallTemp.png";
		effectTypes.add(EffectType.damageModifier);
	}
	@Override
	public int getAddedMaximumDamage(int baseMaximumDamage){
		// returns added value, so increasing damage with baseDamage will double total damage.
		return baseMaximumDamage;
	}
}
